home *** CD-ROM | disk | FTP | other *** search
- Path: mail2news.demon.co.uk!beachyhd.demon.co.uk
- From: Adam@beachyhd.demon.co.uk
- Newsgroups: comp.sys.amiga.programmer
- Subject: Non-draggable child screens
- Date: 25 Feb 96 21:50:17 GMT
- Organization: Beachy Head - UK
- Message-ID: <31312dd7@beachyhd.demon.co.uk>
- X-NNTP-Posting-Host: beachyhd.demon.co.uk
- MIME-Version: 1.0
- Content-Type: text/plain; charset=iso-8859-1
- Content-Transfer-Encoding: 8bit
- X-GateSoftware: AmiGate 1.6 (13.11.95)
- MMDF-Warning: Parse error in original version of preceding line at relay-2.mail.demon.net
- X-Mail2News-Path: disperse.demon.co.uk!post.demon.co.uk!beachyhd.demon.co.uk
-
- I have a program which opens a screen, which is 1280 pixels wide -- double the
- width of a normal video display. I've opened this with the SA_DRAGGABLE tag set
- to FALSE to stop the user moving the screen. I want the screen to move entirely
- under program control, and not under user control.
-
- I then opened a child screen of this one, using the SA_PARENT tag. I want the
- child screen to stay exactly where it is whilst the parent screen is scrolling
- (the child screen is to display status messages, etc.). In order to achieve
- this, I've set the SA_DRAGGABLE tag of the child screen set to TRUE (to allow
- it to be positioned independantly of the parent screen).
-
- This works just fine. The parent screen can be scrolled around, and the child
- screen stays perfectly stationary. However, it does have one drawback: the user
- can drag the child screen around using the Amiga key plus left mouse button.
-
- Can anyone suggest a way that I can achieve what I currently have in place, but
- with the child screen also undraggable? Setting DRAGGABLE,FALSE for the child
- screen just locks it to the parent screen and causes all sorts of problems..
-
- Thanks!
-
- .\dam. [Team AMIGA] //\ ad32@brighton.ac.uk \\/
-
-